package com.develophelper.aliyun.rocketmq.autoconfigure;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author snaildev
 * @date 2021/05/13
 **/
@SuppressWarnings("WeakerAccess")
@ConfigurationProperties(prefix = "aliyun.rocketmq")
public class RocketMQProperties {
    /**
     * The name server for rocketMQ, formats: `host:port;host:port`.
     */
    private String nameServer;

    private String groupId;

    private String accessKey;

    private String secretKey;

    private String traceId = "X-Request-ID";

    public String getNameServer() {
        return nameServer;
    }

    public void setNameServer(String nameServer) {
        this.nameServer = nameServer;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getAccessKey() {
        return accessKey;
    }

    public void setAccessKey(String accessKey) {
        this.accessKey = accessKey;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }

    public String getTraceId() {
        return traceId;
    }

    public void setTraceId(String traceId) {
        this.traceId = traceId;
    }
}
